package titt.server.service.db;

import titt.key.TITTKey;
import titt.server.service.Service;

public interface ServerDatabase {
	boolean containsDuplicateKey(TITTKey key);

	void add(Service s);
	
	Service remove(String id);
	
	Service get(String id);	
	Service get(TITTKey key);
	
	Service[] getAll();
	
}
